package edu.zut.cs.software.perfect.teacher.service;
import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.base.service.GenericManager;
import edu.zut.cs.software.perfect.teacher.domain.Teacher;
/**
 * @ClassName DepartmentManager
 * @Description TODO
 * @Author lixianglong
 * @Date 2020年6月2日 下午11:15:06
 * @Version 1.0
 */
public interface TeacherManager extends GenericManager<Long, Teacher> {
	Teacher echo(Teacher teacher);
     List<Teacher> findAll();
     Boolean deleteById(Long workid);
     Teacher save(Teacher teacher);
     Optional<Teacher> findByWorkId(Long workid);
     Teacher addTeacher(Teacher teacher);
}
